import axios from 'poros/http';

// const BASE_API = 'http://10.110.100.171:8030';
const BASE_API = '';

// 销售预测延误次数分页查
export const getSaleForecastDelaysList = data =>
  axios({
    url: `${BASE_API}/api/salesforecast-service/statementAnalysis/submitDelay`,
    method: 'post',
    data,
  });

//销售预测延误次数导出
export const postExportList = data =>
  axios({
    url: `${BASE_API}/api/salesforecast-service/statementAnalysis/submitDelayExport`,
    method: 'post',
    responseType: 'arraybuffer',
    hasInterceptors: true,
    data,
  });
